
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-guanbi"></i>
                    <div class="name">关闭</div>
                    <div class="fontclass">.ZMMainIcon-guanbi</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-user02"></i>
                    <div class="name">user02</div>
                    <div class="fontclass">.ZMMainIcon-user02</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-shenfenzheng"></i>
                    <div class="name">身份证</div>
                    <div class="fontclass">.ZMMainIcon-shenfenzheng</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-xiaoxi"></i>
                    <div class="name">消息</div>
                    <div class="fontclass">.ZMMainIcon-xiaoxi</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-predicament"></i>
                    <div class="name">实施困境</div>
                    <div class="fontclass">.ZMMainIcon-predicament</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-Frameworktodeploy"></i>
                    <div class="name">标准框架部署</div>
                    <div class="fontclass">.ZMMainIcon-Frameworktodeploy</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-Processandguidance"></i>
                    <div class="name">流程和工具指导</div>
                    <div class="fontclass">.ZMMainIcon-Processandguidance</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-secondarydevelopmen"></i>
                    <div class="name">二次开发服务</div>
                    <div class="fontclass">.ZMMainIcon-secondarydevelopmen</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-Selectionofdeploym"></i>
                    <div class="name">定制化选型部署</div>
                    <div class="fontclass">.ZMMainIcon-Selectionofdeploym</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-Dockerfuse"></i>
                    <div class="name">与Docker容器云平台的融合</div>
                    <div class="fontclass">.ZMMainIcon-Dockerfuse</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-baseinstallation"></i>
                    <div class="name">微服务基础设施</div>
                    <div class="fontclass">.ZMMainIcon-baseinstallation</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-distributedtransact"></i>
                    <div class="name">分布式事务</div>
                    <div class="fontclass">.ZMMainIcon-distributedtransact</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-managerialfunction"></i>
                    <div class="name">服务的高级治理功能</div>
                    <div class="fontclass">.ZMMainIcon-managerialfunction</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-safetycertificate"></i>
                    <div class="name">安全认证机制</div>
                    <div class="fontclass">.ZMMainIcon-safetycertificate</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-CharacterDuties"></i>
                    <div class="name">角色职责</div>
                    <div class="fontclass">.ZMMainIcon-CharacterDuties</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-multi-tenant"></i>
                    <div class="name">多租户</div>
                    <div class="fontclass">.ZMMainIcon-multi-tenant</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-highavailability"></i>
                    <div class="name">高可用</div>
                    <div class="fontclass">.ZMMainIcon-highavailability</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-deploy"></i>
                    <div class="name">环境的部署</div>
                    <div class="fontclass">.ZMMainIcon-deploy</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-lifecyclemanagemen"></i>
                    <div class="name">生命周期管理</div>
                    <div class="fontclass">.ZMMainIcon-lifecyclemanagemen</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-dataprotection"></i>
                    <div class="name">数据保护</div>
                    <div class="fontclass">.ZMMainIcon-dataprotection</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-Resourcedelivery"></i>
                    <div class="name">资源交付</div>
                    <div class="fontclass">.ZMMainIcon-Resourcedelivery</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-highreliability"></i>
                    <div class="name">高可靠2</div>
                    <div class="fontclass">.ZMMainIcon-highreliability</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-richfunctions"></i>
                    <div class="name">功能丰富</div>
                    <div class="fontclass">.ZMMainIcon-richfunctions</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-enterpriseapplicati"></i>
                    <div class="name">企业应用</div>
                    <div class="fontclass">.ZMMainIcon-enterpriseapplicati</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-seamlessfusion"></i>
                    <div class="name">无缝融合</div>
                    <div class="fontclass">.ZMMainIcon-seamlessfusion</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-Programmablejob"></i>
                    <div class="name">可编排作业</div>
                    <div class="fontclass">.ZMMainIcon-Programmablejob</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-batchoperation"></i>
                    <div class="name">批量操作</div>
                    <div class="fontclass">.ZMMainIcon-batchoperation</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-resolutionconsult"></i>
                    <div class="name">拆分咨询</div>
                    <div class="fontclass">.ZMMainIcon-resolutionconsult</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-rolemanagement"></i>
                    <div class="name">角色管理</div>
                    <div class="fontclass">.ZMMainIcon-rolemanagement</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-Unifiedmonitoring"></i>
                    <div class="name">统一监控</div>
                    <div class="fontclass">.ZMMainIcon-Unifiedmonitoring</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-unifiedportal"></i>
                    <div class="name">统一门户</div>
                    <div class="fontclass">.ZMMainIcon-unifiedportal</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-integratedmanagemen"></i>
                    <div class="name">一体化管理</div>
                    <div class="fontclass">.ZMMainIcon-integratedmanagemen</div>
                </li>
            
                <li>
                <i class="icon ZM-Main-icon-font ZMMainIcon-automation"></i>
                    <div class="name">自动化</div>
                    <div class="fontclass">.ZMMainIcon-automation</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">ZM-Main-icon-font</span> <span class="hljs-selector-tag">ZMMainIcon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"ZM-Main-icon-font"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
